package com.sdnu.iosclub.qvs.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Konjacer
 * @create 2022-09-08 15:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qvs_survey")
@ApiModel(value="Survey模糊查询对象", description="")
public class QvsSurveyVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问卷id")
    private String id;

    @ApiModelProperty(value = "问卷标题")
    private String title;

    @ApiModelProperty(value = "问卷开始时间")
    private Date startTime;

    @ApiModelProperty(value = "问卷结束时间")
    private Date endTime;

    @ApiModelProperty(value = "问卷访问规则 0：公开 1：需要密码")
    private Integer rules;

    @ApiModelProperty(value = "状态 0：已创建 1：执行中 2：结束")
    private Integer state;

    @ApiModelProperty(value = "是否匿名 0：匿名 1：不匿名")
    private Integer anon;

    @ApiModelProperty(value = "问卷创建人")
    private String creator;



}
